package dw.fastfile.business.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import dw.fastfile.common.annotations.Dict;

/**
 * @description:
 * @author: wanghao
 * @create: 2024-02-02 10:12
 **/

public class DogExport {
    @ExcelProperty(value = "名称", index = 0)
    @ColumnWidth(12)
    private String name;

    @ExcelProperty(value = "年龄", index = 1)
    @ColumnWidth(12)
    private Integer age = 1;

    @ExcelProperty(value = "说明", index = 2)
    @ColumnWidth(12)
    private String remark = "1";

    @ExcelProperty(value = "部门状态", index = 3)
    @ColumnWidth(12)
    @Dict(dictType = "dept_enable", message = "部门状态校验出错，请检查")
    private String type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
